package com.xiaoxu.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaoxu.content.model.dto.BindTeachplanMediaDto;
import com.xiaoxu.content.model.po.TeachplanMedia;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaoxu
 * @since 2023-01-15
 */
public interface TeachplanMediaService extends IService<TeachplanMedia> {

    /**
     * @description 教学计划绑定媒资
     * @param bindTeachplanMediaDto 教学计划媒资绑定DTO
     */
    void associationMedia(BindTeachplanMediaDto bindTeachplanMediaDto);

    /**
     * @description 教学计划绑定媒资删除
     * @param teachplanId 教学计划Id
     * @param teachplanMediaId 绑定媒资Id
     */
    void deleteAssociation(Long teachplanId, Long teachplanMediaId);
}
